package com.wu.Backstage.tool;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import lombok.Data;

import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.stream.Stream;


@Data
public class PageHelperUtil<T>{

    /*共有数据*/
    private Long total;
    /*共有页数*/
    private Integer pageTotal;
    /*当前页*/
    private Integer page;
    /*每页显示条数 每页默认为12条*/
    private Integer pageSize;
    /*结果集*/
    private List<T> list;

}
